
package cn.nubia.admin.application.bean;

import cn.nubia.admin.common.utils.DateUtil;

import java.io.Serializable;


//专题对象
public class TopicVo implements Serializable {


    //专题id
    private Integer id;
    //专题名称
    private String topicName;
    //排序号
    private Integer sortIndex;
    //状态（-1-删除 0-隐藏 1-显示）
    private Integer state;
    //简介
    private String summary;
    //详细介绍
    private String description;
    //创建时间
    private Integer createTime;
    private String createTimeShow;
    private String topicShowTypeName;
    //过期时间
    private Integer expiredTime;
    private String expiredTimeShow;
    //开始时间
    private Integer startTime;
    private String startTimeShow;
    //软件总数
    private Integer softCount;
    //小图片（json格式存储各个终端不同尺寸的图片）
    private String smallPicUrl;
    //大图片（json格式存储各个终端不同尺寸的图片）
    private String bigPicUrl;
    //创建人的管理员id
    private Integer createAdminId;
    //创建人的管理员名称
    private String createAdminName;
    //修改人的管理员id
    private Integer modifyAdminId;
    //修改人的管理员名称
    private String modifyAdminName;
    //最后修改时间
    private Integer lastModifyTime;
    private String lastModifyTimeShow;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public Integer getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public Integer getSoftCount() {
        return softCount;
    }

    public void setSoftCount(Integer softCount) {
        this.softCount = softCount;
    }

    public String getSmallPicUrl() {
        return smallPicUrl;
    }

    public void setSmallPicUrl(String smallPicUrl) {
        this.smallPicUrl = smallPicUrl;
    }

    public String getBigPicUrl() {
        return bigPicUrl;
    }

    public void setBigPicUrl(String bigPicUrl) {
        this.bigPicUrl = bigPicUrl;
    }

    public Integer getCreateAdminId() {
        return createAdminId;
    }

    public void setCreateAdminId(Integer createAdminId) {
        this.createAdminId = createAdminId;
    }

    public String getCreateAdminName() {
        return createAdminName;
    }

    public void setCreateAdminName(String createAdminName) {
        this.createAdminName = createAdminName;
    }

    public Integer getModifyAdminId() {
        return modifyAdminId;
    }

    public void setModifyAdminId(Integer modifyAdminId) {
        this.modifyAdminId = modifyAdminId;
    }

    public String getModifyAdminName() {
        return modifyAdminName;
    }

    public void setModifyAdminName(String modifyAdminName) {
        this.modifyAdminName = modifyAdminName;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
        if (createTime > 0) {
            createTimeShow = DateUtil.getFormatDate(createTime);
        }
    }

    public Integer getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(Integer expiredTime) {
        this.expiredTime = expiredTime;
        if (expiredTime > 0) {
            expiredTimeShow = DateUtil.getFormatDate(expiredTime);
        }
    }

    public Integer getStartTime() {
        return startTime;
    }

    public void setStartTime(Integer startTime) {
        this.startTime = startTime;
        if (startTime > 0) {
            startTimeShow = DateUtil.getFormatDate(startTime);
        }
    }

    public Integer getLastModifyTime() {
        return lastModifyTime;

    }

    public void setLastModifyTime(Integer lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
        if (lastModifyTime > 0) {
            lastModifyTimeShow = DateUtil.getFormatDate(lastModifyTime);
        }
    }

    public String getCreateTimeShow() {
        return createTimeShow;
    }

    public void setCreateTimeShow(String createTimeShow) {
        this.createTimeShow = createTimeShow;
    }

    public String getTopicShowTypeName() {
        return topicShowTypeName;
    }

    public void setTopicShowTypeName(String topicShowTypeName) {
        this.topicShowTypeName = topicShowTypeName;
    }

    public String getExpiredTimeShow() {
        return expiredTimeShow;
    }

    public void setExpiredTimeShow(String expiredTimeShow) {
        this.expiredTimeShow = expiredTimeShow;
    }

    public String getStartTimeShow() {
        return startTimeShow;
    }

    public void setStartTimeShow(String startTimeShow) {
        this.startTimeShow = startTimeShow;
    }

    public String getLastModifyTimeShow() {
        return lastModifyTimeShow;
    }

    public void setLastModifyTimeShow(String lastModifyTimeShow) {
        this.lastModifyTimeShow = lastModifyTimeShow;
    }
}
